package gzh.vo;

import java.util.Date;

public class ForbiddenWord {
    private Long id;
    private String word;
    private Date createTime; // 字段名改为 createTime

    public ForbiddenWord() {}

    public ForbiddenWord(Long id, String word, Date createTime) {
        this.id = id;
        this.word = word;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ForbiddenWord{" +
                "id=" + id +
                ", word='" + word + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}